package com.xhsj.user.hr.process.hrTransferJob.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: liuqinghua
 * @Description: 调薪申请基本信息
 * @Data:2020/9/14
 */
@Data
public class TransferJobApplyBaseDetailedQuery {

    private Long id;

    /**
     * 职工id
     */
    private Long userId;

    /**
     * 原部门id 外键 tb_global_organization表id
     */
    private Long oldDepartmentId;

    /**
     * 原岗位id 外键 tb_global_organization表id
     */
    private Long oldPositionId;

    /**
     * 原上级领导id 外键 tb_global_user 表id
     */
    private Long oldLeaderId;

    /**
     * 新部门id 外键 tb_global_organization表id
     */
    private Long newDepartmentId;

    /**
     * 新职位id 外键 tb_global_organization表id
     */
    private Long newPositionId;

    /**
     * 新上级领导id 外键 tb_global_user 表id
     */
    private Long newLeaderId;


    /**
     * 申请原因
     */
    private String reason;

    /**
     * 生效日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date effectiveDate;


    /**
     * 流程id 外键  tb_global_business id
     */
    private Long businessId;

    /**
     * 用户名
     */
    private String fullName;

    /**
     * 用户名
     */
    private String workNum;
}
